<template>
  <div id="app">
    <div id="nav">
      <!-- <myhread></myhread> -->
      <!-- <myconten></myconten> -->
      <router-view />
      <myfooter v-if="
            $route.path === '/' ||
            $route.path.match('/home') ||
            $route.path == '/video' ||
            $route.path == '/minvideo' ||
            $route.path == '/me'
      "></myfooter>
    </div>
  </div>
</template>

<script>
// import Myconten from "./components/myconten.vue";
//引入组件
import Myfooter from "./components/myfooter.vue";
// import Myhread from "./components/myhread.vue";

export default {
  name: "APP",
  components: {
    Myfooter,
    // Myhread,
    // Myconten,
    // mybanner,
  },
};
</script>


<style>
* {
  margin: 0;
  padding: 0;
}
#app {
  font-family: PingFangSC-Regular, Hiragino Sans GB, sans-serif, Helvetica, 宋体;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#nav a{
  fill: #696969;
  text-decoration: none;
}

#nav a.router-link-active {
  color: #f03d37;
  fill: #f03d37;
}


</style>
